<%-- 
    Document   : logout
    Created on : Feb 9, 2012, 9:33:44 AM
    Author     : PhucAn
--%>

<%@page import="util.SharingUtil"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%
    if (SharingUtil.isUserLoggedIn(SharingUtil.getUser(session))) {
        session.setAttribute(SharingUtil.VAR_S_USER, null);
        response.sendRedirect("index.jsp?pcontent=logout");
    }
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Log out</title>
        <style>
            .logout-form{
                margin: auto;
            }
        </style>      
    </head>
    <body>        
        <table class="logout-form form-table">
            <tr>
                <td>
                    <h1>You have logged out successfully</h1>
                </td>
            </tr>
        </table>

    </body>
</html>
